.box{
    outline: 1px solid red;
    display: flex;
}
.trans{
    transition: 5s;
    animation: rotate 1s linear infinite;
}
@keyframes rotate{
    0%{
        transform: rotate(0);
      }
    /* 50%{
    	transform:rotate(-360deg);
    } */
    100%{
         transform: rotate(360deg);
    	}
	}
